package cn.tedu.autoshow.website.service;


import cn.tedu.autoshow.commons.pojo.vo.PageData;
import cn.tedu.autoshow.website.pojo.param.TicketOrderAddNewParam;
import cn.tedu.autoshow.website.pojo.param.TicketOrderUpdaeInfoParam;
import cn.tedu.autoshow.website.pojo.vo.TicketOrderListItemVO;
import cn.tedu.autoshow.website.pojo.vo.TicketOrderStandardVO;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface ITicketOrderService {

    void addNew(TicketOrderAddNewParam ticketOrderAddNewParam);

    void deleteById(Long id);

    void updateInfoById(Long id, TicketOrderUpdaeInfoParam ticketOrderUpdaeInfoParam);

    TicketOrderStandardVO getStandardById(Long id);

    PageData<TicketOrderListItemVO> list(Integer pageNum);

    PageData<TicketOrderListItemVO> list(Integer pageNum, Integer pageSize);

    PageData<TicketOrderListItemVO> listByUserId(Long userId, Integer pageNum);

    PageData<TicketOrderListItemVO> listByUserId(Long userId, Integer pageNum, Integer pageSize);

}
